<?php
/**
 * Created by PhpStorm.
 * User: zhangrongxiang
 * Date: 2017/5/24
 * Time: 下午9:51
 */


$a = 05;
// 36
echo sprintf("%o", $a * 6);
echo PHP_EOL;
echo 5 * 6 + floor(5 * 6 / 8) * 2;

$b = 0b111;
echo PHP_EOL;
echo sprintf("%b", $b * 3);

echo PHP_EOL;
$c = 010;
// 17
echo sprintf("%o", $a * 3);
echo PHP_EOL;


